From: Kenichi Handa Date: Fri, 26 Dec 2003 11:39:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24755 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=080875937b4bcf74735ab4aa09ab3b3f2ce1aa0e;p=emacs.git *** empty log message *** --- diff --git a/src/composite.c b/src/composite.c index b4e931c6a20..f8e655a3685 100644 --- a/src/composite.c +++ b/src/composite.c @@ -842,9 +842,12 @@ syms_of_composite () args[0] = QCtest; args[1] = Qequal; + /* We used to make the hash table weak so that unreferenced + compostions can be garbage-collected. But, usually once + created compositions are repeatedly used in an Emacs session, + and thus it's not worth to save memory in such a way. So, we + make the table not weak. */ args[2] = QCweakness; - /* Fixme: It seems that a weak hash table leads to segfault in GC, - but I have not yet found why. -- handa@m17n.org */ args[3] = Qnil; args[4] = QCsize; args[5] = make_number (311);